<?php
define('ADMIN_PAGE_SIZE'          , 20);
define('USER_PAGE_SIZE'           , 20);
define('HOME_PAGE_SIZE'           , 15);

define('REGION_ICON_LARGE_PATH'   , 'resource/yellowphp/images/icon/2d/large');
define('REGION_ICON_SMALL_PATH'   , 'resource/yellowphp/images/icon/2d/small');
define('CATEGORY_ICON_LARGE_PATH' , 'resource/yellowphp/images/icon/2d/large');
define('CATEGORY_ICON_SMALL_PATH' , 'resource/yellowphp/images/icon/2d/small');
define('SUBCATEGORY_ICON_LARGE_PATH' , 'resource/yellowphp/images/icon/2d/large');
define('SUBCATEGORY_ICON_SMALL_PATH' , 'resource/yellowphp/images/icon/2d/small');
define('BUSINESS_ICON_LARGE_PATH' , 'resource/yellowphp/images/icon/2d/large');
define('BUSINESS_ICON_SMALL_PATH' , 'resource/yellowphp/images/icon/2d/small');

define('UPLOAD_IMAGE_LARGE_SIZE'    , '600');
define('UPLOAD_IMAGE_MEDIUM_SIZE'   , '200');
define('UPLOAD_IMAGE_MINI_SIZE'     , '64');

define('UPLOAD_IMAGE_LIMIT_SIZE'    , 10 * 1024 * 1024); //10 MByte
define('UPLOAD_IMAGE_LIMIT_FILE_TYPE' , "^(image/*)");

define('UPLOAD_ICON_LARGE_SIZE'     , '100');
define('UPLOAD_ICON_MEDIUM_SIZE'    , '64');
define('UPLOAD_ICON_MINI_SIZE'       , '32');



/*
//upload model
define('UPLOAD_MODEL_PATH'        , 'resource/yellowphp/model');
//upload video
define('UPLOAD_VIDEO_PATH'        , 'resource/yellowphp/video');
*/
//spaw editor configuration
//NOTE this path relative to htdocs not in Zikula root
//if below path not specified , the default path will set to 
// modules/YellowPHP/pnincludes/spaw/uploads/
// don't forgot to set permession to 0755 or 0777
// if zikula root in sub folder ex http://www.example.com/zikula/index.php...
// path will be /zikula/resource/spaw/flashs
define('SPAW_UPLOAD_FLASH_PATH'        , '/resource/spaw/flashs');
define('SPAW_UPLOAD_IMAGE_PATH'        , '/resource/spaw/images');
define('SPAW_UPLOAD_FILE_PATH'         , '/resource/spaw/files');

//system setting
define('SETTING_TABLE'          , 'innoforum_setting');
//allow the hight slide effect to display business information 
//if set to false the information will display in new page
define('ENABLE_HIGHTSLIDE'      , true); //true | false
//set show or hide map (Both of Google Earth and Google Map)
define('ENABLE_MAP'      , true); //true | false

//more information in pnSecurity.php
//define('ACCESS_INVALID', -1);
//define('ACCESS_NONE', 0);
//define('ACCESS_OVERVIEW', 100);
//define('ACCESS_READ', 200);
//define('ACCESS_COMMENT', 300);
//define('ACCESS_MODERATE', 400);
//define('ACCESS_EDIT', 500);
//define('ACCESS_ADD', 600);
//define('ACCESS_DELETE', 700);
//define('ACCESS_ADMIN', 800);

//the min access level to access admin panel
define('ADMIN_EDIT_LEVEL'       , 800); //ACCESS_EDIT
//the min access level to allow user add placemark
define('USER_EDIT_LEVEL'        , 300); //ACCESS_COMMENT

define('USER_VIP_LEVEL'         , 400); //ACCESS_MODERATE
//Administrator id
define('ADMIN_UID'              , 2);
//type
define('TYPE_SOLD_ID'           , 3);
define('TYPE_AUCTION_ID'        , 5);


//set upload path

/*define(UPLOAD_IMAGES_PATH , 'pnTemp/innoforum_upload/images');
define(UPLOAD_THUMBS_PATH , 'pnTemp/innoforum_upload/images/thumbs');
define(UPLOAD_HTACCESS_PATH , 'pnTemp/innoforum_upload/.htaccess');
define(UPLOAD_IMAGES_HTACCESS_PATH , 'pnTemp/innoforum_upload/images/.htaccess');

define(UPLOAD_THUMBS_HTACCESS_PATH , 'pnTemp/innoforum_upload/images/thumbs/.htaccess');*/
/*
define('HTACCESS_PATH'        , 'modules/InnoForum/.htaccess');
define('UPLOAD_FILES_PATH'    , 'pnTemp/innoforum_upload');
define('UPLOAD_HTACCESS_PATH' , 'pnTemp/innoforum_upload/.htaccess');
define('UPLOAD_IMAGE_WIDTH'   , '200');
define('UPLOAD_IMAGE_HEIGHT'  , '150');
*/

define('HTACCESS_PATH'          , 'modules/InnoForum/.htaccess');
define('HTML_BLANK_PATH'        , 'modules/InnoForum/index.html');

define('DELETE_FILES_MAINPATH'  , 'resource/innoforum_upload');

define('UPLOAD_FILES_MAINPATH'  , 'resource');
define('UPLOAD_FILES_MAINPATH_HTACCESS_PATH'   , 'resource/.htaccess');
define('UPLOAD_FILES_MAINPATH_HTML_BLANK_PATH' , 'resource/index.html');

define('UPLOAD_FILES_SUBPATH'   , 'resource/innoforum_upload/');
define('UPLOAD_FILES_SUBPATH_HTACCESS_PATH'   , 'resource/innoforum_upload/.htaccess');
define('UPLOAD_FILES_SUBPATH_HTML_BLANK_PATH' , 'resource/innoforum_upload/index.html');

define('UPLOAD_IMAGE_ORIGINAL'   , 'resource/innoforum_upload/large/');
define('UPLOAD_IMAGE_ORIGINAL_HTACCESS_PATH'   , 'resource/innoforum_upload/large/.htaccess');
define('UPLOAD_IMAGE_ORIGINAL_HTML_BLANK_PATH' , 'resource/innoforum_upload/large/index.html');

define('UPLOAD_IMAGE_THUMB'   , 'resource/innoforum_upload/medium/');
define('UPLOAD_IMAGE_THUMB_HTACCESS_PATH'   , 'resource/innoforum_upload/medium/.htaccess');
define('UPLOAD_IMAGE_THUMB_HTML_BLANK_PATH' , 'resource/innoforum_upload/medium/index.html');

define('UPLOAD_IMAGE_WIDTH'     , '200');
define('UPLOAD_IMAGE_HEIGHT'    , '150');

